<?php namespace nimo\common\validator;

class Validator extends \Illuminate\Validation\Validator 
{
	public function validateBoolean($attribute, $value)
	{
		return in_array( $value, array('no','yes','0','1','false','true'));
	}
}
